<template>
	<view>
		<view class="u-page__item">
			<u-cell-group>
				<u-cell title="个人信息" isLink url="/pages/mine/info/info"></u-cell>
				<u-cell title="房屋信息" isLink url="/pages/mine/houses/houses"></u-cell>
				<u-cell title="车辆信息" isLink url="/pages/mine/cars"></u-cell>
				<u-cell title="车位信息" isLink url="/pages/mine/parking"></u-cell>
			</u-cell-group>
		</view>
		<u-button text="退出登录" @click="logout()"></u-button>
	</view>

</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			logout(){
				uni.removeStorage({
					key:"token"
				})
				uni.redirectTo({
					url: "../loginByAccount"
				})
			}
		}
	}
</script>

<style lang="scss">
</style>